package com.anglireports.report.data.studentPage;


import com.anglireports.report.bean.base.BaseBean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author lvjilei
 * @ceateTime 2019/3/28.
 */
public class RadarData extends BaseBean{

    private List<String> indicator ;

    private List<Map<String,Object>> data;


    public RadarData(){
        indicator = new ArrayList<String>();
        indicator.add("正面情緒指數");
        indicator.add("参与指数");
        indicator.add("情绪指数");
        indicator.add("专注指数");
        indicator.add("出勤指数");

        data = new ArrayList<Map<String, Object>>();
        Map<String,Object> avgValue = new HashMap<String, Object>();
        avgValue.put("name", "均值");
        avgValue.put("value", new int[]{75, 65, 70, 75, 80});
        data.add(avgValue);
    }


    public List<String> getIndicator() {
        return indicator;
    }

    public void setIndicator(List<String> indicator) {
        this.indicator = indicator;
    }

    public List<Map<String, Object>> getData() {
        return data;
    }

    public void setData(List<Map<String, Object>> data) {
        this.data = data;
    }
}
